﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/Tool.master" AutoEventWireup="true"
    Inherits="Admin_Tools_ExecSql" CodeBehind="ExecSql.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Panel ID="Panel1" runat="server" GroupingText="执行SQL语句" Style="padding-left: 10px;
        padding-right: 10px; margin-top: 10px;">

        <table>
        
            <tr>
                <td>用户名：</td>
                <td> <asp:TextBox ID="txtLoginName" runat="server"></asp:TextBox>密码：<asp:TextBox ID="txtPassword"
                runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td><asp:Label ID="Label1" runat="server" Text="连接字符串："></asp:Label></td>
                <td><asp:TextBox ID="txtConectionString" Width="396px" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td> <asp:Label ID="Label2" runat="server" Text="SQL语句：" Style="margin-left: 10px; margin-bottom: 50px;"></asp:Label></td>
                <td> <asp:TextBox ID="txtSql" runat="server" Width="401px" Height="68px" TextMode="MultiLine"></asp:TextBox>
            &nbsp;<asp:Button ID="btnOK" runat="server" Text="运行" OnClick="btnOK_Click" Width="68px" /></td>
            </tr>
           
        </table>
      
    </asp:Panel>
    <div style="padding-left: 10px; padding-right: 10px; margin-top: 10px; overflow: auto;"
        id="main">
        <asp:GridView ID="gvList" runat="server">
        </asp:GridView>
    </div>
</asp:Content>
